package com.gdcp.mapper;

import com.gdcp.beans.Shipping;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShippingMapper {

    int insert(Shipping shipping);

    List<Shipping> queryListById(@Param("user_id") Integer id);

    Shipping queryById(@Param("id") Integer address_id);

    int updateAddress(Shipping shipping);

    int deleteById(@Param("id") Integer id);

    Shipping getInformation(@Param("id") Integer valueOf);
}
